package com.spddr.pmos.repos;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.spddr.pmos.jpa.Transmission;

public interface TransmissionRepos extends JpaRepository<Transmission, Long> {
	List<Transmission> findByFromGridId(long grid);

	List<Transmission> findByToGridId(long grid);

	List<Transmission> findByFromGridIdOrToGridId(long from, long to);
}
